package com.frank.stock4j.tusharepro.bean;

import com.frank.stock4j.tusharepro.BaseBean;
import com.frank.stock4j.tusharepro.http.BaseRequestParam;

/**
* 描述：获取全球新冠疫情数据，包括国家和地区
* @author: codesmith
**/
public interface NcovGlobalBean extends BaseBean {
    String API_NAME = "ncov_global";
    
    interface Fields {
    String area_id = "area_id";    //地区代码
    String publish_date = "publish_date";    //发布日期
    String country = "country";    //国家
    String country_enname = "country_enname";    //国家英文名
    String province = "province";    //省份
    String province_short = "province_short";    //省份简称
    String province_enname = "province_enname";    //省份英文名
    String confirmed_num = "confirmed_num";    //累计确诊病例
    String confirmed_num_now = "confirmed_num_now";    //现有确诊病例
    String suspected_num = "suspected_num";    //疑似感染病例
    String cured_num = "cured_num";    //治愈人数
    String dead_num = "dead_num";    //死亡人数
    String update_time = "update_time";    //更新时间
    }
    
    interface Params {
        country country = new country();
        /*
        * 国家名称
        */
        class country extends BaseRequestParam {
            { key = "country"; }
        }
        province province = new province();
        /*
        * 省份简称（北京、上海）
        */
        class province extends BaseRequestParam {
            { key = "province"; }
        }
        publish_date publish_date = new publish_date();
        /*
        * 公布日期
        */
        class publish_date extends BaseRequestParam {
            { key = "publish_date"; }
        }
        start_date start_date = new start_date();
        /*
        * 开始日期（YYYYMMDD）
        */
        class start_date extends BaseRequestParam {
            { key = "start_date"; }
        }
        end_date end_date = new end_date();
        /*
        * 结束日期（YYYYMMDD）
        */
        class end_date extends BaseRequestParam {
            { key = "end_date"; }
        }
    }
}